package com.example.demo.mp.entity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.example.demo.core.base.BizEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 触达组件
 * </p>
 *
 * @author JXY
 * @since 2022-03-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("reach_record")
public class ReachRecordEntity extends BizEntity<ReachRecordEntity> {

    private static final long serialVersionUID = 1L;

    /**
     * 画布id
     */
    @TableField("canvas_id")
    private Long canvasId;

    /**
     * 节点id
     */
    @TableField("node_id")
    private Long nodeId;

    /**
     * 用户唯一标识
     */
    @TableField("user_symbol")
    private String userSymbol;

    /**
     * 结果类型:0失败 1成功
     */
    @TableField("status")
    private Integer status;

    /**
     * 响应参数
     */
    @TableField("response_body")
    private String responseBody;

    /**
     * 请求参数
     */
    @TableField("reach_body")
    private String reachBody;

    /**
     * ReachTypeEnum
     */
    @TableField("reach_type")
    private Integer reachType;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
